#!/bin/bash

for i in `cat $1`;
	do
		python3 -m pip install $i -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
		if [ $? -eq 0 ]; then
			echo $i '安装完成...';
		else
			echo $i '安装失败...';
		fi

	done
